package com.tqjc.business.interactivewithscan.consts;

/**
 * @program: C20005_Xianggang_new
 * @description: 动作常量
 * @author: Patienyon
 * @create: 2023-11-01 19:24
 **/
public enum ActionEnum {
    /**
     * 天车动作
     */
    Crane_Target_Coordinates("设置大车目标坐标", "10000001"),
    Trolley_Target_Coordinates("设置小车目标坐标", "10000002"),
    Lifting_Target_Coordinates("设置起升目标坐标", "10000003"),
    Job_Type("设置作业类型", "10000004"),
    Task_Running("设置任务运行状态", "10000005"),
    Suction_Task("查询吸料任务完成状态", "10000006"),
    Discharge_Task("查询放料任务完成状态", "10000007"),
    Avoid_Task("查询避让任务完成状态", "10000008"),
    PLC_Task("设置PLC任务", "10000009"),
    Crane_REALTIME_LOCATION("查询大车实时位置", "10000010"),
    Crane_Target_LOCATION("查询大车目标位置", "10000011"),
    Query_Task_Running("查询任务运行状态", "10000012"),
    Query_Tianche_Mode("查询天车操作模式", "10000013"),
    Task_Suspend("天车任务暂停", "10000014"),
    Query_Crane_Holding_Brake("查询大车抱闸状态", "10000015"),
    Query_Lift_Height("查询大车起升高度", "10000016"),
    Emergency_Stop("天车急停", "10000017"),
    Set_ESP_To_Other("设置当前ESP到同跨另一天车", "10000018"),
    Query_Grab_Steps("查询天车吸料步骤", "10000019"),
    Query_Discharge_Steps("查询天车放料步骤", "10000020"),
    Query_Job_Type("查询作业类型", "10000021"),
    Update_Tianche_Mode("修改天车操作模式", "10000022"),
    Query_Current_ESP("查询当前ESP", "10000023"),
    Setting_One_Tanker_Weight("设置一号槽车的重量", "10000025"),
    Setting_Two_Tanker_Weight("设置二号槽车的重量", "10000026"),
    Setting_Three_Tanker_Weight("设置三号槽车的重量", "10000027"),
    /**
     * 槽车操作
     */
    CC_Current_Weight("查询槽车当前重量", "20000001"),
    /**
     * 天车扫描
     */
    TC_Cmd_OpenLidar("激光雷达启动", "30000001"),
    TC_Cmd_CloseLidar("激光雷达关闭", "30000002"),
    TC_Cmd_StartLidar("激光雷达开始采集", "30000003"),
    TC_Cmd_ResetLidar("激光雷达复位", "30000004"),
    TC_Cmd_StopLidar("激光雷达停止采集", "30000005"),
    TC_Que_SYSStatus("查询系统状态", "30000006"),
    TC_Que_LMSStatus("查询LMS状态", "30000007"),
    TC_Que_LidarStatus("查询设备状态", "30000008"),
    TC_Que_LocationScanResult("区域扫描结果", "30000009"),
    TC_Que_Temperature("查询温度", "30000010"),
    TC_Que_WindowPollution("查询窗口污染", "30000011"),
    TC_Er_List("激光错误", "30000012"),
    TC_Que_TRResult("查询火车的扫描结果", "30000013"),
    TC_Que_FGResult("查询一跨(废钢)的扫描结果", "30000014"),
    TC_Que_FZResult("查询一跨(废渣)的扫描结果", "30000015"),
    TC_Que_FGWall("查询废钢跨墙面坐标", "30000016"),
    TC_Que_FZWall("查询废渣跨墙面坐标", "30000017"),
    /**
     * 云台扫描
     */
    YT_Cmd_OpenPTZLidar("云台激光雷达启动", "40000001"),
    YT_Cmd_ClosePTZLidar("云台激光雷达关闭", "40000002"),
    YT_Cmd_StartPTZLidar("云台激光雷达开始采集", "40000003"),
    YT_Cmd_ResetPTZLidar("云台激光雷达复位", "40000004"),
    YT_Cmd_StopPTZLidar("云台激光雷达停止采集", "40000005"),
    YT_RSStatus("查询系统状态", "40000006"),
    YT_Que_LMSStatus("查询激光雷达LMS状态", "40000007"),
    YT_Que_LidarStatus("查询激光雷达状态", "40000008"),
    YT_Que_PTZStatus("查询云台状态", "40000009"),
    YT_Que_ScanResult("卡车与槽车四个顶点坐标", "40000010"),
    YT_Que_Temperature("温度", "40000011"),
    YT_Que_WindowPollution("窗口污染", "40000012"),
    YT_Er_List("激光错误", "40000013"),
    YT_Que_TruckDEM("查询卡车车厢DEM", "40000014"),


    /**
     * 获取当前位置
     */
    HQDQWZ("获取当前位置", "2021000001"),
    YDDZDZB("移动到指定坐标", "2021000002"),
    HQZLJQZB("获取抓料精确坐标", "2021000003"),
    XFDG("下放吊钩", "2021000004"),
    ZZHW("装载货物", "2021000005"),
    SLDG("上拉吊钩", "2021000006"),
    XZHW("卸载货物", "2021000007"),
    HQXLJQZB("获取卸料精确坐标", "2021000008"),
    SMHCZB("扫描货车坐标", "2021000009"),
    SMHCSFYL("扫描货车是否有料", "2021000010"),
    GDHWDZL("钩吊货物的重量", "2021000011"),

    HQCCDQZB("获取槽车当前坐标", "2021000012"),
    CCQJ("槽车前进（往天车方向）", "2021000013"),
    CCHT("槽车后退（往转炉方向）", "2021000014"),
    CCTZYD("槽车停止移动", "2021000015"),
    JCSFYCPXX("检查是否有车牌信息", "2021000016"),

    YT_Que_LiftingPoint("查询库区点位信息", "50000001"),
    YT_Que_CraneALiftingPoint("查询库区一号天车点位信息", "50000002"),
    YT_Que_CraneBLiftingPoint("查询库区二号天车点位信息", "50000003"),
    CMD_SHIELD("屏蔽库区", "50000004"),


    ;

    ActionEnum(String actionName, String actionCode) {
        this.actionName = actionName;
        this.actionCode = actionCode;
    }

    /**
     * 动作主键
     */
    private Long actionOid;
    /**
     * 动作名称
     */
    private String actionName;
    /**
     * 动作编码
     */
    private String actionCode;

    public String getActionCode() {
        return actionCode;
    }

    public String getActionName() {
        return actionName;
    }

}

